package com.cn.mmd.mapper;

import com.cn.mmd.model.Student;
import com.cn.mmd.model.StudentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface StudentMapper {
    int countByExample(StudentExample example);

    int deleteByExample(StudentExample example);

    int deleteByPrimaryKey(String studentid);

    int insert(Student record);

    int insertSelective(Student record);

    List<Student> selectByExample(StudentExample example);

    Student selectByPrimaryKey(String studentid);

    int updateByExampleSelective(@Param("record") Student record, @Param("example") StudentExample example);

    int updateByExample(@Param("record") Student record, @Param("example") StudentExample example);

    int updateByPrimaryKeySelective(Student record);

    int updateByPrimaryKey(Student record);

    List<Student> selectByPaging(Student student);

    Student selectByKey(String studentid);

    List<Student> selectByAll();

    List<Student> selectCollegeByAll();

    List<Student> selectMajorByAll(String s);

    List<Student> selectByAllEx(String string);

    List<Student> selectByClass(String string);

    int countLimitNum(Student student);

    int countByStudentClass(String studentClass);

    List selectByStudentClass(String studentClass);

    List<Student> selectByMa(Student student);

    List<Student> selectByCo(Student student);

    List<Student> selectByMajor(Student student);

    List<Student> selectByClasss(String string);
}